<div class="full-height full-width" fwa-layout-container main="true">

    <div fwa-layout-box="north"  style="height: 38px;">
        <div search-form class="container-search" data-submit="onSubmit();"
             data-reset="onReset();" data-heights="[38,120]"  >
            <div class="row">
                <div class="form-group  col-xs-4">
                    <label class="col-xs-5 control-label text-right">案件编号:</label>
                    <div class="col-xs-7">
                        <input type="text" class="form-control" ng-model="params.caseCode">
                    </div>
                </div>
                <div class="form-group  col-xs-4">
					<label class="col-xs-5 control-label text-right">机构名称:</label>
					<div class="col-xs-7">
						<!-- <select ui-select2="{allowClear:true}" class="full-width"
							ng-model="params.orgName">
							<option value=""></option>
							<option ng-repeat="data in medicalOrgInfoList"
								value="{{data.medicalOrgName}}">{{data.medicalOrgName}}</option>
						</select> -->
						<select-container container-data="medicalOrgInfoList" text="medicalOrgName" 
						    code="medicalOrgName" result="params.orgName" 
						    data-type="true"  search-datas="['medicalOrgName','namePysr','nameWubi']" >
						</select-container>
					</div>
				</div>
                <div class="form-group  col-xs-4">
                    <label class="col-xs-5 control-label text-right">受理时间:</label>
                    <div class="col-xs-7">
                        <date-range-input class="full-width" data-type="month" data-format="yyyy-mm-dd" ng-model="params.auditDate" name="dateText"></date-range-input>
                    </div>
                </div>
            </div>

            <div class="row" ng-hide="searchMoreHide">
                <div class="form-group  col-xs-4">
                    <label class="col-xs-5 control-label text-right">来源方式:</label>
                    <div class="col-xs-7">
                        <select class="form-control" name="targetType" ng-model="params.sourceType"
                                ng-options="c.code as c.name for c in auditDictServices.sourceType">
                            <option value="">---请选择---</option>
                        </select>
                    </div>
                </div>
                <div class="form-group  col-xs-4">
                    <label class="col-xs-5 control-label text-right">医生姓名:</label>
                    <div class="col-xs-7">
                        <input type="text" class="form-control" ng-model="params.doctorName">
                    </div>
                </div>
                <div class="form-group  col-xs-4">
                    <label class="col-xs-5 control-label text-right">证件号码:</label>
                    <div class="col-xs-7">
                        <input type="text" class="form-control" ng-model="params.jobLicense">
                    </div>
                </div>
            </div>

            <div class="row" ng-hide="searchMoreHide">
                <div class="form-group  col-xs-4">
                    <label class="col-xs-5 control-label text-right">提交时间:</label>
                    <div class="col-xs-7">
                        <date-range-input class="full-width" data-type="month" data-format="yyyy-mm-dd" ng-model="params.sbmitDate" name="dateText"></date-range-input>

                    </div>
                </div>
                <div class="form-group  col-xs-4">
                </div>
                <div class="form-group  col-xs-4">
                </div>
            </div>
            </form>
        </div>
    </div>
	
	<div fwa-layout-box="center" padding="true">
		<div fwa-layout-container fwa-layout-fullsize="true">
			<div fwa-layout-box="center">
				<fwa-table  columns="columns" data-rows="tableData" data-check="true" check-rows="checkRows">
		     	</fwa-table>
			</div>
			
			<div fwa-layout-box="south" style="height:36px;">
				<div class="col-xs-11">
					<div class="row">
						<page-tool total-count="totalCount" current-page="currentPage"
							data-limit="limit"></page-tool>
					</div>
				</div>
				
			 	<div class="col-xs-1" style="background-color: #f1f2f4; line-height: 28px; ">
					 <div class="row">
					  	<button type="button" class="btn btn-blue btn-xs" ng-click="onSubmitMore();" >
					  		批量审批
					  	</button>
			  		</div>
				</div>  
			</div>
		</div>
	</div>
	
</div>
<fwa-loading data-show="loading" >
	数据加载中...
</fwa-loading>
<!-- shi 弹出框 -->
<script type="text/ng-template" id="conclusionApprovementSubmitMore_view.html">
<div class="modal-header">
	<button type="button" class="close" ng-click="onOk();">&times;</button>
	<h4 class="modal-title" >批量审批</h4>
</div>

<div class="modal-body">
	<div class="row" style="margin-top: 20px;">
<div class="col-xs-12  full-height" style="background-color:white" >  
					<div class=" full-height full-width " style="background-color:white;" >
					 	<div class=" full-height" style="width:100%"> 
							 <div class="row" >
								   <div class="form-group col-xs-12" >
										<label style="width: 15%;float: left;" class="control-label text-right">
									           	<span class="red"> * </span>审批意见:
										</label>
									    <div style="width: 45%;float: left;padding:0px 2px 0px 5px;">
							 				<select  class="form-control" name = "_opinion" required ng-model="caseApproveResult.opinion" 
							                         ng-options="c.code as c.name for c in auditDictServices.caseApprove">
							                    <option value="">---请选择---</option>
							                </select>
									    </div>
									</div>
							 </div>
							 <div class="row" style="padding-top: 10px">
								   <div class="form-group col-xs-12" >
										<label style="width: 15%;float: left;" class="control-label text-right">
									           	<span class="red"> * </span>意见说明:
										</label>
									    <div style="width: 85%;float: left;padding:0px 2px 0px 5px;">
												<textarea class="form-control" rows="5" ng-validation="{length:{rule:'0-100',msg:'字符不能超过100'}}" 
												name="_opinionDesc" ng-model="caseApproveResult.opinionDesc"></textarea>
									    </div>
									</div>
							 </div>
						</div>
				 	</div>
		  </div>

</div>
</div>

<div class="modal-footer">
<div class="col-xs text-center">
	<button type="button" class="btn btn-primary btn-sm" ng-click="confirm();">确定</button>
	<button type="button" class="btn btn-primary btn-sm" ng-click="onOk();" >关闭</button>
</div>
</div>
<fwa-loading data-show="loading" >
	数据加载中...
</fwa-loading>
</script>
